﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EggsGame
{
    public class RobotEgg : Egg
    {
        public RobotEgg()
        {
            EggName = "机器蛋仔";
        }
        public override void Fly()
        {
            Console.WriteLine("喷气式引擎起飞");
        }

        public override void Sound()
        {
            Console.WriteLine("嗡……");
        }

        public override void Swim()
        {
            Console.WriteLine("用螺旋桨游");
        }
    }
}
